/*
 * Copyright (c) Created by T C L on 2019.7.10.
 */

package cn.mumzone.pos.model;

import java.io.Serializable;
import java.util.List;

public class SalesTimesCard implements Serializable {

    /**
     * times : 10
     * code : ck1561075403997
     * endDate : 1568908800000
     * createTime : 1561031952000
     * price : 0.02
     * servicesName : 5分钟服务
     * name : card
     * validDay : 3
     * remark :
     * id : 77513b81209e4c9ab215bf87232fba26
     * state : 0
     * servicesId : 46a422377f89479c8c99ccc2e8f010a2
     */

    private int times;
    private String code;
    private long endDate;
    private long createTime;
    private String price;
    private String originPrice;
    private String servicesName;
    private String name;
    private int validDay;
    private String remark;
    private String id;
    private int state;
    private String servicesId;
    private String useExcludeDate;
    private List<TimeListBean> timeList;

    public String getUseExcludeDate() {
        return useExcludeDate;
    }

    public void setUseExcludeDate(String useExcludeDate) {
        this.useExcludeDate = useExcludeDate;
    }

    public String getOriginPrice() {
        return originPrice;
    }

    public void setOriginPrice(String originPrice) {
        this.originPrice = originPrice;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getEndDate() {
        return endDate;
    }

    public void setEndDate(long endDate) {
        this.endDate = endDate;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getServicesName() {
        return servicesName;
    }

    public void setServicesName(String servicesName) {
        this.servicesName = servicesName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValidDay() {
        return validDay;
    }

    public void setValidDay(int validDay) {
        this.validDay = validDay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getServicesId() {
        return servicesId;
    }

    public void setServicesId(String servicesId) {
        this.servicesId = servicesId;
    }

    public List<TimeListBean> getTimeList() {
        return timeList;
    }

    public void setTimeList(List<TimeListBean> timeList) {
        this.timeList = timeList;
    }


    public static class TimeListBean implements Serializable{
        /**
         * startTime : 21600000
         * endTime : 43200000
         */

        private int startTime;
        private int endTime;

        public int getStartTime() {
            return startTime;
        }

        public void setStartTime(int startTime) {
            this.startTime = startTime;
        }

        public int getEndTime() {
            return endTime;
        }

        public void setEndTime(int endTime) {
            this.endTime = endTime;
        }
    }
}
